package com.hxh.learn.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hxh.common.unification.ResultOutcome;
import com.hxh.learn.model.SysRule;
import com.hxh.learn.model.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hxh.learn.vo.SysUserSearchVo;
import org.springframework.security.core.userdetails.UserDetailsService;

/**
 * <p>
 * 用户 服务类
 * </p>
 *
 * @author hxh
 * @since 2023-03-02
 */
public interface ISysUserService extends IService<SysUser> {
    /**
     * 分页查询用户信息
     * @param sysUserSearchVo
     * @return
     */
    Page<SysUser> queryUserList(SysUserSearchVo sysUserSearchVo);

    SysUser getByName(String userName);

    String login(String username, String password);
}
